Skip to content

feat: bzlmodify#11

Closed
chickenandpork wants to merge 1 commit into1e100:masterfrom
chickenandpork:feat/bzlmodify
Closed

feat: bzlmodify#11
chickenandpork wants to merge 1 commit into1e100:masterfrom
chickenandpork:feat/bzlmodify

Conversation

@chickenandpork
Copy link
Copy Markdown

This is a very basic BCR config; there's some remaining work before a BCR submission can be attempted:

  1. @1e100 the build seems like it'll likely require google storage credentials to access the archive_gcloud_* repos
  2. the tools need to be toolchains and pulled in on demand rather than pre-installed on the build platform. There's a tool that helps that.
  3. if you want me to handle the BCR part going forward (it's not like you'll have a huge amount of traffic), add me as a maintainer block in the .bcr/metadata.template.json (see my rules_synology as an example)

Partially fixes #5

1e100 pushed a commit that referenced this pull request Mar 31, 2026
Move all repository rule invocations from WORKSPACE to MODULE.bazel
using use_repo_rule (bzlmod-native). Remove --enable_workspace from
.bazelrc since Bazel 8 defaults to bzlmod.

Add optional tool_target attribute to all cloud rules (s3, gs, minio,
b2) so users can point to a Bazel-managed CLI binary (e.g.
@my_awscli//:aws) instead of requiring tools on $PATH. When unset,
the existing $PATH lookup via repo_ctx.which() is preserved.

Add .bcr/ templates (metadata, presubmit, source) for future Bazel
Central Registry submission.

Partially addresses PR #11.

https://claude.ai/code/session_01AxVsJ3PcLBCmcUXAaLKZQk
1e100 added a commit that referenced this pull request Apr 1, 2026
Migrate to Bzlmod and add tool_target parameter for CLI tools

This is a cleanup and further development of #11
@1e100
Copy link
Copy Markdown
Owner

1e100 commented Apr 1, 2026

Cleaned up and submitted via #20. The impl differs quite a bit though. There's now documentation under docs

@1e100 1e100 closed this Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support bzlmod and make available on BCR

2 participants